<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 隐藏员工的id-->
<input type="hidden" id="staff_id" name="staff_id"/>
<!-- 隐藏使用状态-->
<input type="hidden" id="state" name="state" value="Y"/>
<!-- 隐藏是否系统内置-->
<input type="hidden" id="built_in" name="built_in" value="N"/>
<!-- 组织机构id-->
<input type="hidden" id="org_id" name="org_id" />
<!-- 企业会员id-->
<input type="hidden" id="company_org_id" name="company_org_id" />
<!--角色列表-->
<input type="hidden" id="rolesIdList" name="rolesIdList" />

<!-- 用户管理-新增  -->
<div class="form-group notnull">
	<div class="form-label w36">显示名称</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="view_name" name="view_name" data-options="novalidate:'true',required:true,missingMessage:'显示名称不能为空'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">登录名</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="login_name" name="login_name" data-options="novalidate:'true',required:true,missingMessage:'登录名不能为空'" /></input>
	</div>
</div>

<div class="form-group  ">
	<div class="form-label w36">员工</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="staff_VO" name="staff_VO" data-options="" /></input>
	</div>
</div>
<div class="form-group  ">
	<div class="form-label w36">头像</div>
	<div class="form-editor w64">
		<input class="easyui-filebox" type="text" id="icon" name="icon"   /></input>
	</div>
</div>

<div class="form-group notnull">
	<div class="form-label w36">用户级别</div>
	<div class="form-editor w64">
		<select class="easyui-combobox" id="level" name="level" sel>
			<c:forEach items="${userLevelList}" var="userLeve">
				<c:if test="${userLeve.column_value !='superadministrator'}">
					<option value="${userLeve.column_value}" ${userLeve.column_value == 'user'?"selected='selected'":'' }>${userLeve.column_content}</option>
				</c:if>
 			</c:forEach>
		</select>
 	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">组织机构</div>
	<div class="form-editor w64">
		<select id="org_id_VO" name =“org_id_VO” class="easyui-combotree" data-options="novalidate:'true',required:true,missingMessage:'请选择组织机构'" style="width:177px;"/>
		</select>
 	</div>
</div>
<div class="form-group-two notnull"  >
	<div class="form-label w36   ">角色</div>
	<div class="form-editor w64">
		<c:forEach items="${roleEntityList}" var="role">
			<input class="rolesCheckBox" data-options="label:'${role.name}',value:'${role.id}'" name='roleEntityList' />
		</c:forEach>
	</div>
</div>

